package com.xys.auth.service;

import com.xys.auth.bean.Role;

import java.util.List;

public interface IRoleService {
    List<Role> findAll();

    int save(Role role);

    List<Role> findOtherRole(String id);

    void addPermissionToRole(String roleId, String[] ids);

    Role findById(String id);
}
